package com.doraro.platform.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doraro.platform.module.user.model.dto.UserDetail;
import com.doraro.platform.module.user.model.entity.SysUser;
import com.doraro.platform.module.user.model.vo.SysUserParam;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author doraro
 * @since 2019-04-21
 */
public interface ISysUserService extends IService<SysUser> {



    SysUser login(SysUserParam user, HttpServletRequest request);

    SysUser getUserByName(String username);

    void register(SysUserParam param);

    UserDetail getUserDetail(String userId);
}
